AEResumeTheCurrentEvent
AEResumeTheCurrentEvent Resume Apple Event processing
#include <AppleEvents.h> Apple Event Manager
OSErr AEResumeTheCurrentEvent( theAppleEvent, reply, dispatcher,
handlerRefcon );
AppleEvent * theAppleEvent ; AppleEvent to be resumed
AppleEvent * reply ; system default reply
EventHandlerProcPtr dispatcher ; see below
long handlerRefcon ; a reference constant
returns Error Code; 0 = no error
You can use the AEResumeTheCurrentEvent function to inform the
Apple Event Manager that your application wants to resume the handling
of a previously suspended Apple event or that it has completed handling of the
Apple Event.
When your application calls the AEResumeTheCurrentEvent function, the
Apple Event Manager resumes the handling of the specified Apple event
using the handler specified in the dispatcher parameter; if kAENoDispatch is
specified, this function simply informs the Apple Event Manager that the
specified event has been handled.
The parameter theAppleEvent is the Apple event whose processing is to be
resumed.
The reply parameter is the default reply that is automatically provided by the
Apple Event Manager for the Apple event.
The dispatcher parameter is one of the following:
a pointer to a routine for handling the event
the kAEUseStandardDispatch constant, which causes the Apple event to
be dispatched in the way it was when it was first received
the kAENoDispatch constant, which tells the Apple Event Manager
that the processing of the Apple event is complete and that it does not
need to be dispatched
If the value of the dispatcher parameter is not kAEUseStandardDispatch, the
handlerRefcon parameter is a reference constant that is passed to the handler
when the handler is called. If the value of the dispatcher parameter is
kAEUseStandardDispatch, the Apple Event Manager ignores the
handlerRefcon parameter and instead passes the reference constant that is
stored in the Apple event dispatch table entry for the Apple event. (If you want
to pass the same reference constant that is stored in the Apple event dispatch
table, your application can obtain the reference constant by calling the
Result codes
noErr (0) No error